package com.sht.common.components.random;

import java.util.Random;

public class RandomUtil {
	private static String[] figureSource= {"1","2","3","6","6","8","8","9","6","8","9"};
	public static String getFourFigures() {
		Random random=new Random();
		StringBuffer figureStrBuffer=new StringBuffer();
		for(int i=0;i<4;i++) {
			figureStrBuffer.append(figureSource[random.nextInt(10)]);
		}
		return figureStrBuffer.toString();
	}
}
